package com.quanshu.exchange.support.chat;

public class ChatConstant {

    public static final String ACCOUNT_REMOVED = "account_removed";
    public static final String ACCOUNT_CONFLICT = "conflict";
    public static final String ACCOUNT_FORBIDDEN = "user_forbidden";
    public static final String ACCOUNT_KICKED_BY_CHANGE_PASSWORD = "kicked_by_change_password";
    public static final String ACCOUNT_KICKED_BY_OTHER_DEVICE = "kicked_by_another_device";

    // 会话类型
    public static final int CHAT_TYPE_SINGLE = 1;
    public static final int CHAT_TYPE_GROUP = 2;

    // 消息类型
    public static final int MESSAGE_TYPE_NOTIFY = 100;    // 通知
    public static final int MESSAGE_TYPE_TXT = 101;    // 纯文字
    public static final int MESSAGE_TYPE_IMAGE = 102;    //图片
    public static final int MESSAGE_TYPE_VOICE = 103;    // 语音
    public static final int MESSAGE_TYPE_VIDEO = 104;    //视频
    public static final int MESSAGE_TYPE_VOICE_CALL = 105;    //语音通话
    public static final int MESSAGE_TYPE_VIDEO_CALL = 106;    //视频通话
    public static final int MESSAGE_TYPE_RED_PACKAGE = 107;    //红包

    // 聊天消息扩展字段
    public static final String Chat_ext_attr_nickname = "nickname";
    public static final String Chat_ext_attr_photo = "userImage";
    public static final String Chat_reply_member = "reply";
    public static final String Chat_send_member_id = "sendMemberId";
    public static final String Chat_group_id = "group_id";
    public static final String Chat_group_photo = "group_photo";
    public static final String Chat_group_name = "group_name";
    public static final String Chat_orginal_src = "orginal_src";
    //    public static final String Chat_relation_type = "relation_type";
    public static final String Chat_group_owner = "owner";
    public static final String Chat_ext_attr_call_type = "call_type";
    public static final String Chat_ext_attr_call_time_value = "timeValue";
    public static final String Chat_ext_attr_is_toAll = "is_toAll";

    public static final String Chat_ext_attr_red_package_id = "red_package_id";
    public static final String Chat_ext_attr_red_package_name = "red_package_name";
    public static final String Chat_ext_attr_red_package_is_robed = "isRobed";

    public static final String MESSAGE_TYPE_RECALL = "message_recall";

    public static final String MESSAGE_ATTR_IS_BIG_EXPRESSION = "em_is_big_expression";
    public static final String MESSAGE_ATTR_EXPRESSION_ID = "em_expression_id";

}